<!DOCTYPE html>
<html>

<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" id="index-viewport" content="width=device-width,initial-scale=1,maximum-scale=1.0,user-scalable=0">
  <!-- <meta name="format-detection" content="telephone=no"/> -->
  <meta name="format-detection" content="telephone=yes">
  <link rel="icon" href="<%= BASE_URL %>favicon.ico">
  <!-- <title>华瑞e家</title> -->
  <title></title>
  <script>
    (function (window, document) {
      function resize() {
        var ww = window.innerWidth
        if (ww > window.screen.width) {
          window.requestAnimationFrame(resize)
        } else {
          document.documentElement.style.fontSize = ww * 100 / 750 + 'px'
        }
      }
      resize();
      window.addEventListener('resize', resize);
      window.addEventListener('pageshow', function (e) {
        if (e.presisted) {
          resize();
        }
      });

      /** 限制用户修改字体大小 */
      if(typeof WeixinJSBridge == 'object' && typeof WeixinJSBridge.invoke == 'function') {
        handleFontSize();
      } else {
        if(document.addEventListener) {
          document.addEventListener('WeixinJSBridgeReady', handleFontSize, false)
        } else if(document.attachEvent) {
          document.attachEvent('WeixinJSBridgeReady', handleFontSize)
          document.attachEvent('onWeixinJSBridgeReady', handleFontSize)
        }
      }
      function handleFontSize() {
        // 设置网页字体为默认大小
        WeixinJSBridge.invoke('setFontSizeCallback', {
          'fontSize': 0
        })
        // 重写设置网页字体大小的事件
        WeixinJSBridge.on('menu:setfont', function() {
          WeixinJSBridge.invoke('setFontSizeCallback', {
            'fontSize': 0
          })
        })
      }
      //动态引入回溯录屏js文件 打开vconsole时关闭录屏
      // function useBacktrackJs(){
      //   // var useVconsole = process.env.VUE_APP_USE_VCONSOLE
      //   var useVconsole = true
      //   console.log('vconsole开关配置',useVconsole)
      //   if(!useVconsole){
      //     var head = document.getElementsByTagName('head')[0]
      //     var script= document.createElement("script")
      //     script.type = "text/javascript"
      //     /**
      //      * 
      //      *  20210205 升级JSSDK链接 
      //      *  20210425 升级JSSDK1.4生产链接
      //      *  20210512 升级JSSDK1.5测试链接
      //      */
      //     // script.src="https://cdn1.huaruisales.com/backtrack/release/easyreplay-1.3.min.js"
      //     // script.src="https://cdn1.huaruisales.com/backtrack/release/easyreplay-1.4.js"
      //     script.src="https://cdn1.huaruisales.com/backtrack/test/easyreplay-1.5.js"
      //     head.appendChild(script)
      //   }
      // }
      // useBacktrackJs()
    })(window, document);
  </script>
  <script>
    (function (window, document) {
      //企业微信js-sdk
      document.getElementById('wxwork') && document.getElementById('wxwork').remove()
      var hm = document.createElement('script')
      hm.src = 'https://res.wx.qq.com/open/js/jweixin-1.2.0.js'
      hm.id = 'wxwork'
      var s = document.getElementsByTagName('script')[0]
      let ua = navigator.userAgent.toLowerCase()
      console.log(navigator.userAgent)
      if (ua.indexOf('micromessenger') != -1 && ua.indexOf('wxwork') != -1) {
        s.parentNode.insertBefore(hm, s)
      }
    })(window, document)
  </script> 
  <script
    src="https://cdn1.huaruisales.com/mobsite/lib/vue/vue/vue<%= process.env.NODE_ENV === 'production' ? '.min.js' : '.js' %>"
    crossorigin="anonymous"></script>
  <script
    src="https://cdn1.huaruisales.com/mobsite/lib/vue/vue-router/vue-router<%= process.env.NODE_ENV === 'production' ? '.min.js' : '.js' %>"
    crossorigin="anonymous"></script>
  <script
    src="https://cdn1.huaruisales.com/mobsite/lib/vue/vuex/vuex<%= process.env.NODE_ENV === 'production' ? '.min.js' : '.js' %>"
    crossorigin="anonymous"></script>
  <script
    src="https://cdn1.huaruisales.com/mobsite/lib/vue/axios/axios<%= process.env.NODE_ENV === 'production' ? '.min.js' : '.js' %>"
    crossorigin="anonymous"></script>
    <script src="https://cdn1.huaruisales.com/mobsite/lib/echarts/echarts.min.js" crossorigin="anonymous"></script>
    
    <!-- 测试使用中科软JSSDK链接 -->
    <script type="text/javascript" charset="utf-8" src="https://cdn1.huaruisales.com/backtrack/test/easyreplay-1.10.js"></script> 
    <!-- 生产使用中科软JSSDK链接 20210805修改-->
    <!-- <script type="text/javascript" charset="utf-8" src="https://cdn1.huaruisales.com/backtrack/release/easyreplay-1.7.js"></script>  -->
    <!-- 思图JSSDK链接 -->
    <!-- <script type="text/javascript" charset="utf-8" src="https://cdn1.huaruisales.com/mobsite/lib/SituRecorder_v1.5.2.js"></script>  -->
    <!-- 同屏插件 -->
    <!-- <script type="text/javascript" src="https://cdn1.huaruisales.com/screen/test/screen-sharing-1.0.0.js"></script> -->
    <!-- 同屏生产链接 -->
    <!-- <script type="text/javascript" src="https://cdn1.huaruisales.com/screen/release/screen-sharing-1.0.js"></script> -->
    <script type="text/javascript" src="https://cdn1.huaruisales.com/screen/test/screen-sharing-1.3.js"></script>
  </head>

<body>
  <div id="app"></div>
  <!-- built files will be auto injected -->
  <style>
    @font-face {
      font-family:Mand-Mobile-Icon;
      font-style:normal;
      font-weight:400;
      src:url(https://cdn1.huaruisales.com/mobsite/lib/mand/iconfont.woff) format("woff"),url(https://cdn1.huaruisales.com/mobsite/lib/mand/iconfont.ttf) format("truetype")
    }
  </style>
</body>

</html>